package com.eastedu.report.common.model.po;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

/**
 * 合作教师
 *
 * @author luozhenzhong
 */
@EqualsAndHashCode(callSuper = true)
@Data
@MappedSuperclass
public class CommonRankEntity extends CommonDimensionEntity {

    @Column(name = "`ranking`", columnDefinition = "int(11) default 0 comment '排名'")
    private Integer ranking;
    /**
     * 教师姓名
     */
    @Column(name = "`teacher_name`", columnDefinition = "varchar(100) comment '教师姓名'")
    private String teacherName;

    @Column(name = "`role_identity`", columnDefinition = "int comment '教师身份：0教师,1保密员,2校管'")
    private Integer roleIdentity;

    @Column(name = "`subject_code`", columnDefinition = "varchar(100) comment '学科'")
    private String subjectCode;
}
